
#ifndef __REDCAR_USB_COMMAND_H
#define __REDCAR_USB_COMMAND_H
#include "main.h"
#include "stm32f1xx_hal.h"
#include "usbd_cdc_if.h"
//#include "stm32f1xx_hal.h"

typedef struct
{
	float xf,yf,zf;
	float atan_num;
	int error_code;

}USB_CMD;

USB_CMD Get_USB_data(char *str);
int my_printf(const char* format,...);

#endif
